<!--
 * @Author: seagull 3132177523@qq.com
 * @Date: 2023-12-04 14:29:23
 * @LastEditors: seagull 3132177523@qq.com
 * @LastEditTime: 2023-12-04 14:30:13
 * @FilePath: \culture-applet\src\components\cell1.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <view
    @click="pressCell()"
    class=""
    style="
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      background-color: #a0cfff;
      width: 100%;
      height: 100%;
    "
  >
    {{ itemData.title }}
  </view>
</template>

<script>
export default {
  props: {
    itemData: {
      type: Object,
      default: function (e) {
        return {}
      },
    },
  },
  methods: {
    pressCell() {
      uni.showModal({
        title: '点击',
      })
    },
  },
}
</script>

<style scoped></style>
